home *** CD-ROM | disk | FTP | other *** search
/ CGI How-To / CGI HOW-TO.iso / chap5 / 5_1 / parse_pl / tester.pl < prev   
Encoding:
Perl Script  |  1996-06-15  |  242 b   |  18 lines

  1. #!/usr/bin/perl
  2.  
  3. require "parsehtm.pl";
  4. require "handlers.pl";
  5.  
  6. %userData;
  7.  
  8. if($ARGV[0])
  9. {
  10.     $userData{"name"} = "stephen";
  11.     $userData{"email"} = "sasbury@crl.com";
  12.  
  13.     $output = &parseHtml($ARGV[0],%userData);
  14.     print $output;
  15. }
  16.  
  17. 1;
  18.